package com.example.system.Service.question;


import com.example.common.core.domain.R;
import com.example.common.core.domain.TableDataInfo;
import com.example.system.domain.question.dto.QuestionAddDTO;
import com.example.system.domain.question.dto.QuestionEditDTO;
import com.example.system.domain.question.dto.QuestionQueryDTO;
import com.example.system.domain.question.vo.QuestionDetailVo;


public interface IQuestionService {
    TableDataInfo list(QuestionQueryDTO questionQueryDTO);

    Integer add(QuestionAddDTO questionAddDTO);

    QuestionDetailVo getQuestionDetailById(Long questionId);

    R<Void> editQuestionById(QuestionEditDTO questionEditDTO);

    R<Void> deleteQuestionById(Long questionId);
}
